const { merge } = require('webpack-merge');
const configCommon = require('./webpack.config.common.js');
const myConfig = require('./webpack.config.my.js');
const config = merge(configCommon, {
    devtool: 'cheap-eval-source-map',
    devServer: {
        contentBase: myConfig.distDir,
        host: '127.0.0.1',
        writeToDisk: false
    },
    optimization: {
        minimize: false,
        occurrenceOrder: false,
        providedExports: false,
        concatenateModules: false,
        sideEffects: false,
        usedExports: true,
        namedModules: true,
        namedChunks: true
    },
    plugins: []
});
module.exports = config;
